turbo: SAMx5x boards loader enable native .mpy default - #11356
Conversation
Turn on CIRCUITPY_LOAD_NATIVE for SAMD51, SAME51 and SAME54 boards. It fits on every board except these ten, which already have little flash to spare and opt out in their own mpconfigboard.mk: circuitbrains_deluxe_m4, datalore_ip_m4, hallowing_m4_express, kicksat-sprite, mini_sam_m4, monster_m4sk, openbook_m4, pewpew_m4, silicognition-m4-shim, uartlogger2 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
dhalbert
left a comment
There was a problem hiding this comment.
Thanks!
I will work on some translation shrink stuff which may make a lot of these fit again.
|
merge conflicts |
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Merged main to resolve the conflicts in a12e791, no rebase. After the v1.29 merge two boards no longer fit in
I have not opted them out yet. If your translation shrink lands first they should fit again, otherwise I will add |
|
I will wait for translation shrinks before merging this. |
The translation shrink leaves room for the loader on circuitbrains_deluxe_m4, datalore_ip_m4, mini_sam_m4, monster_m4sk, openbook_m4 and silicognition-m4-shim. Four boards still opt out: hallowing_m4_express, kicksat-sprite, pewpew_m4, uartlogger2 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Main now has the translation shrink, so six of the ten opt-outs fit again and are removed in f6fbfdf. Tightest language with the loader on:
Still opted out: |
dhalbert
left a comment
There was a problem hiding this comment.
Thanks - the more the better.
What
Enables the turbo loader (
CIRCUITPY_LOAD_NATIVE) by default on SAMx5x.38 of 42 boards fit. The other 4 opt out in
mpconfigboard.mk.Follow-up to #11332 (RP2) and #11355 (STM32F4).
Hardware tested
Metro M4 AirLift Lite
10.3.0-66-g55984e753c, which includes this commit..mpy.mpy@native.mpyHow I tested it
All 42 SAMx5x boards built in their tightest CI language with GCC 15.2.1.
Hardware used
vsum.pyfrom #11332 pluspixels.py.mini_sam_m4jamonster_m4skjametro_m4_expressde_DEfeather_m4_expressde_DEcircuitbrains_deluxe_m4jadatalore_ip_m4jasilicognition-m4-shimjaopenbook_m4jahallowing_m4_expressjapewpew_m4de_DEkicksat-spriteruuartlogger2jaScope
nRF52 and Xtensa loader support will be separate PRs. SAMD21 does not currently fit.
AI assistance
Claude Code was used.